package com.itheima.marking_system.pojo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "用户登录返回的数据格式")
public class Jwt {

        @ApiModelProperty("主键值")
        private Long id;

        @ApiModelProperty(value = "用户姓名")
        private String name;

        @ApiModelProperty("jwt令牌")
        private String token;

}
